home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2005 October / PCWOCT05.iso / Software / FromTheMag / The GIMP 2.2.8 / gimp-2.2.8-i586-setup.exe / {app} / share / gimp / 2.0 / scripts / copy-visible.scm < prev    next >
Encoding:
GIMP Script-Fu Script  |  2005-06-30  |  1.4 KB  |  39 lines

  1. ; The GIMP -- an image manipulation program
  2. ; Copyright (C) 1995 Spencer Kimball and Peter Mattis
  3. ; "Copy Visible" -- copy the visible selection so that it can be pasted easily
  4. ; Copyright (C) 2004 Rapha├½l Quinet, Adrian Likins, Sven Neumann
  5. ;
  6. ; This program is free software; you can redistribute it and/or modify
  7. ; it under the terms of the GNU General Public License as published by
  8. ; the Free Software Foundation; either version 2 of the License, or
  9. ; (at your option) any later version.  
  10. ; This program is distributed in the hope that it will be useful,
  11. ; but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. ; GNU General Public License for more details.
  14. ; You should have received a copy of the GNU General Public License
  15. ; along with this program; if not, write to the Free Software
  16. ; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17. ;
  18. ; Removed all code and made it a backward-compat wrapper around
  19. ;     (gimp-edit-copy-visible)
  20. ;     2004-12-12 Michael Natterer <mitch@gimp.org>
  21.  
  22. (define (script-fu-copy-visible image
  23.                 drawable)
  24.   (gimp-edit-copy-visible image))
  25.  
  26. (script-fu-register "script-fu-copy-visible"
  27.             "Copy Visible"
  28.             "This procedure is deprecated! use \'gimp_edit_copy_visible\' instead."
  29.             ""
  30.             ""
  31.             ""
  32.             "RGB* INDEXED* GRAY*"
  33.             SF-IMAGE    "Image"    0
  34.             SF-DRAWABLE "Drawable" 0)
  35.